# SPDX-FileCopyrightText: Copyright 2022-2024 深圳市同心圆网络有限公司
# SPDX-License-Identifier: GPL-3.0-only

openapi: "3.0.0"
info:
  version: "{{ packageJson('version') }}"
  title: "{{ packageJson('name') }}"
  description: "{{ packageJson('description') }}"
  contact:
    name: linksaas
    email: "{{ packageJson('author') }}"
    url: https://jihulab.com/linksaas/local-api

servers:
  - url: localhost

tags:
  - name: global
    description: 不属于项目范围的接口
  - name: minapp
    description: 微应用相关接口
  - name: projectCreate
    description: 项目中创建任务/缺陷和文档
  - name: projectTask
    description: 项目中任务相关接口
  - name: projectBug
    description: 项目中缺陷相关接口
  - name: projectEvent
    description: 项目中事件相关接口
  - name: projectCodeComment
    description: 项目中的代码评论
  - name: projectTool
    description: 项目中工具相关接口
  - name: projectEntry
    description: 项目中内容相关接口

paths:
  $ref: paths/index.yml.njk

components:
  parameters:
    $ref: parameters/index.yml.njk
  schemas:
    $ref: schemas/index.yml.njk